Optimal. Leaf size=446 \[ \frac {(e f-d g) \tan ^{-1}\left (\frac {x \sqrt {-a e^4-c d^4}}{d e \sqrt {a+c x^4}}\right )}{2 \sqrt {-a e^4-c d^4}}+\frac {\left (\sqrt {a}+\sqrt {c} x^2\right ) \sqrt {\frac {a+c x^4}{\left (\sqrt {a}+\sqrt {c} x^2\right )^2}} F\left (2 \tan ^{-1}\left (\frac {\sqrt [4]{c} x}{\sqrt [4]{a}}\right )|\frac {1}{2}\right ) \left (\sqrt {a} e g+\sqrt {c} d f\right )}{2 \sqrt [4]{a} \sqrt [4]{c} \sqrt {a+c x^4} \left (\sqrt {a} e^2+\sqrt {c} d^2\right )}-\frac {\left (\sqrt {a}+\sqrt {c} x^2\right ) \sqrt {\frac {a+c x^4}{\left (\sqrt {a}+\sqrt {c} x^2\right )^2}} \left (\sqrt {c} d^2-\sqrt {a} e^2\right ) (e f-d g) \Pi \left (\frac {\left (\sqrt {c} d^2+\sqrt {a} e^2\right )^2}{4 \sqrt {a} \sqrt {c} d^2 e^2};2 \tan ^{-1}\left (\frac {\sqrt [4]{c} x}{\sqrt [4]{a}}\right )|\frac {1}{2}\right )}{4 \sqrt [4]{a} \sqrt [4]{c} d e \sqrt {a+c x^4} \left (\sqrt {a} e^2+\sqrt {c} d^2\right )}-\frac {(e f-d g) \tanh ^{-1}\left (\frac {a e^2+c d^2 x^2}{\sqrt {a+c x^4} \sqrt {a e^4+c d^4}}\right )}{2 \sqrt {a e^4+c d^4}} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.50, antiderivative size = 446, normalized size of antiderivative = 1.00, number of steps used = 8, number of rules used = 8, integrand size = 24, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.333, Rules used = {1742, 12, 1248, 725, 206, 1709, 220, 1707} \[ \frac {(e f-d g) \tan ^{-1}\left (\frac {x \sqrt {-a e^4-c d^4}}{d e \sqrt {a+c x^4}}\right )}{2 \sqrt {-a e^4-c d^4}}-\frac {(e f-d g) \tanh ^{-1}\left (\frac {a e^2+c d^2 x^2}{\sqrt {a+c x^4} \sqrt {a e^4+c d^4}}\right )}{2 \sqrt {a e^4+c d^4}}+\frac {\left (\sqrt {a}+\sqrt {c} x^2\right ) \sqrt {\frac {a+c x^4}{\left (\sqrt {a}+\sqrt {c} x^2\right )^2}} F\left (2 \tan ^{-1}\left (\frac {\sqrt [4]{c} x}{\sqrt [4]{a}}\right )|\frac {1}{2}\right ) \left (\sqrt {a} e g+\sqrt {c} d f\right )}{2 \sqrt [4]{a} \sqrt [4]{c} \sqrt {a+c x^4} \left (\sqrt {a} e^2+\sqrt {c} d^2\right )}-\frac {\left (\sqrt {a}+\sqrt {c} x^2\right ) \sqrt {\frac {a+c x^4}{\left (\sqrt {a}+\sqrt {c} x^2\right )^2}} \left (\sqrt {c} d^2-\sqrt {a} e^2\right ) (e f-d g) \Pi \left (\frac {\left (\sqrt {c} d^2+\sqrt {a} e^2\right )^2}{4 \sqrt {a} \sqrt {c} d^2 e^2};2 \tan ^{-1}\left (\frac {\sqrt [4]{c} x}{\sqrt [4]{a}}\right )|\frac {1}{2}\right )}{4 \sqrt [4]{a} \sqrt [4]{c} d e \sqrt {a+c x^4} \left (\sqrt {a} e^2+\sqrt {c} d^2\right )} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 12
Rule 206
Rule 220
Rule 725
Rule 1248
Rule 1707
Rule 1709
Rule 1742
Rubi steps
\begin {align*} \int \frac {f+g x}{(d+e x) \sqrt {a+c x^4}} \, dx &=\int \frac {(-e f+d g) x}{\left (d^2-e^2 x^2\right ) \sqrt {a+c x^4}} \, dx+\int \frac {d f-e g x^2}{\left (d^2-e^2 x^2\right ) \sqrt {a+c x^4}} \, dx\\ &=\frac {\left (\sqrt {a} d e (e f-d g)\right ) \int \frac {1+\frac {\sqrt {c} x^2}{\sqrt {a}}}{\left (d^2-e^2 x^2\right ) \sqrt {a+c x^4}} \, dx}{\sqrt {c} d^2+\sqrt {a} e^2}+(-e f+d g) \int \frac {x}{\left (d^2-e^2 x^2\right ) \sqrt {a+c x^4}} \, dx+\frac {\left (\sqrt {c} d f+\sqrt {a} e g\right ) \int \frac {1}{\sqrt {a+c x^4}} \, dx}{\sqrt {c} d^2+\sqrt {a} e^2}\\ &=\frac {(e f-d g) \tan ^{-1}\left (\frac {\sqrt {-c d^4-a e^4} x}{d e \sqrt {a+c x^4}}\right )}{2 \sqrt {-c d^4-a e^4}}+\frac {\left (\sqrt {c} d f+\sqrt {a} e g\right ) \left (\sqrt {a}+\sqrt {c} x^2\right ) \sqrt {\frac {a+c x^4}{\left (\sqrt {a}+\sqrt {c} x^2\right )^2}} F\left (2 \tan ^{-1}\left (\frac {\sqrt [4]{c} x}{\sqrt [4]{a}}\right )|\frac {1}{2}\right )}{2 \sqrt [4]{a} \sqrt [4]{c} \left (\sqrt {c} d^2+\sqrt {a} e^2\right ) \sqrt {a+c x^4}}-\frac {\left (\sqrt {c} d^2-\sqrt {a} e^2\right ) (e f-d g) \left (\sqrt {a}+\sqrt {c} x^2\right ) \sqrt {\frac {a+c x^4}{\left (\sqrt {a}+\sqrt {c} x^2\right )^2}} \Pi \left (\frac {\left (\sqrt {c} d^2+\sqrt {a} e^2\right )^2}{4 \sqrt {a} \sqrt {c} d^2 e^2};2 \tan ^{-1}\left (\frac {\sqrt [4]{c} x}{\sqrt [4]{a}}\right )|\frac {1}{2}\right )}{4 \sqrt [4]{a} \sqrt [4]{c} d e \left (\sqrt {c} d^2+\sqrt {a} e^2\right ) \sqrt {a+c x^4}}+\frac {1}{2} (-e f+d g) \operatorname {Subst}\left (\int \frac {1}{\left (d^2-e^2 x\right ) \sqrt {a+c x^2}} \, dx,x,x^2\right )\\ &=\frac {(e f-d g) \tan ^{-1}\left (\frac {\sqrt {-c d^4-a e^4} x}{d e \sqrt {a+c x^4}}\right )}{2 \sqrt {-c d^4-a e^4}}+\frac {\left (\sqrt {c} d f+\sqrt {a} e g\right ) \left (\sqrt {a}+\sqrt {c} x^2\right ) \sqrt {\frac {a+c x^4}{\left (\sqrt {a}+\sqrt {c} x^2\right )^2}} F\left (2 \tan ^{-1}\left (\frac {\sqrt [4]{c} x}{\sqrt [4]{a}}\right )|\frac {1}{2}\right )}{2 \sqrt [4]{a} \sqrt [4]{c} \left (\sqrt {c} d^2+\sqrt {a} e^2\right ) \sqrt {a+c x^4}}-\frac {\left (\sqrt {c} d^2-\sqrt {a} e^2\right ) (e f-d g) \left (\sqrt {a}+\sqrt {c} x^2\right ) \sqrt {\frac {a+c x^4}{\left (\sqrt {a}+\sqrt {c} x^2\right )^2}} \Pi \left (\frac {\left (\sqrt {c} d^2+\sqrt {a} e^2\right )^2}{4 \sqrt {a} \sqrt {c} d^2 e^2};2 \tan ^{-1}\left (\frac {\sqrt [4]{c} x}{\sqrt [4]{a}}\right )|\frac {1}{2}\right )}{4 \sqrt [4]{a} \sqrt [4]{c} d e \left (\sqrt {c} d^2+\sqrt {a} e^2\right ) \sqrt {a+c x^4}}+\frac {1}{2} (e f-d g) \operatorname {Subst}\left (\int \frac {1}{c d^4+a e^4-x^2} \, dx,x,\frac {-a e^2-c d^2 x^2}{\sqrt {a+c x^4}}\right )\\ &=\frac {(e f-d g) \tan ^{-1}\left (\frac {\sqrt {-c d^4-a e^4} x}{d e \sqrt {a+c x^4}}\right )}{2 \sqrt {-c d^4-a e^4}}-\frac {(e f-d g) \tanh ^{-1}\left (\frac {a e^2+c d^2 x^2}{\sqrt {c d^4+a e^4} \sqrt {a+c x^4}}\right )}{2 \sqrt {c d^4+a e^4}}+\frac {\left (\sqrt {c} d f+\sqrt {a} e g\right ) \left (\sqrt {a}+\sqrt {c} x^2\right ) \sqrt {\frac {a+c x^4}{\left (\sqrt {a}+\sqrt {c} x^2\right )^2}} F\left (2 \tan ^{-1}\left (\frac {\sqrt [4]{c} x}{\sqrt [4]{a}}\right )|\frac {1}{2}\right )}{2 \sqrt [4]{a} \sqrt [4]{c} \left (\sqrt {c} d^2+\sqrt {a} e^2\right ) \sqrt {a+c x^4}}-\frac {\left (\sqrt {c} d^2-\sqrt {a} e^2\right ) (e f-d g) \left (\sqrt {a}+\sqrt {c} x^2\right ) \sqrt {\frac {a+c x^4}{\left (\sqrt {a}+\sqrt {c} x^2\right )^2}} \Pi \left (\frac {\left (\sqrt {c} d^2+\sqrt {a} e^2\right )^2}{4 \sqrt {a} \sqrt {c} d^2 e^2};2 \tan ^{-1}\left (\frac {\sqrt [4]{c} x}{\sqrt [4]{a}}\right )|\frac {1}{2}\right )}{4 \sqrt [4]{a} \sqrt [4]{c} d e \left (\sqrt {c} d^2+\sqrt {a} e^2\right ) \sqrt {a+c x^4}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [C] time = 0.68, size = 258, normalized size = 0.58 \[ \frac {\frac {(d g-e f) \left (\sqrt [4]{c} d e \sqrt {a+c x^4} \tanh ^{-1}\left (\frac {a e^2+c d^2 x^2}{\sqrt {a+c x^4} \sqrt {a e^4+c d^4}}\right )+2 \sqrt [4]{-1} \sqrt [4]{a} \sqrt {\frac {c x^4}{a}+1} \sqrt {a e^4+c d^4} \Pi \left (\frac {i \sqrt {a} e^2}{\sqrt {c} d^2};\left .\sin ^{-1}\left (\frac {(-1)^{3/4} \sqrt [4]{c} x}{\sqrt [4]{a}}\right )\right |-1\right )\right )}{\sqrt [4]{c} d \sqrt {a e^4+c d^4}}-\frac {2 i g \sqrt {\frac {c x^4}{a}+1} F\left (\left .i \sinh ^{-1}\left (\sqrt {\frac {i \sqrt {c}}{\sqrt {a}}} x\right )\right |-1\right )}{\sqrt {\frac {i \sqrt {c}}{\sqrt {a}}}}}{2 e \sqrt {a+c x^4}} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [F(-1)] time = 0.00, size = 0, normalized size = 0.00 \[ \text {Timed out} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [F] time = 0.00, size = 0, normalized size = 0.00 \[ \int \frac {g x + f}{\sqrt {c x^{4} + a} {\left (e x + d\right )}}\,{d x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [C] time = 0.02, size = 251, normalized size = 0.56 \[ \frac {\sqrt {-\frac {i \sqrt {c}\, x^{2}}{\sqrt {a}}+1}\, \sqrt {\frac {i \sqrt {c}\, x^{2}}{\sqrt {a}}+1}\, g \EllipticF \left (\sqrt {\frac {i \sqrt {c}}{\sqrt {a}}}\, x , i\right )}{\sqrt {\frac {i \sqrt {c}}{\sqrt {a}}}\, \sqrt {c \,x^{4}+a}\, e}+\frac {\left (-d g +e f \right ) \left (\frac {\sqrt {-\frac {i \sqrt {c}\, x^{2}}{\sqrt {a}}+1}\, \sqrt {\frac {i \sqrt {c}\, x^{2}}{\sqrt {a}}+1}\, e \EllipticPi \left (\sqrt {\frac {i \sqrt {c}}{\sqrt {a}}}\, x , -\frac {i \sqrt {a}\, e^{2}}{\sqrt {c}\, d^{2}}, \frac {\sqrt {-\frac {i \sqrt {c}}{\sqrt {a}}}}{\sqrt {\frac {i \sqrt {c}}{\sqrt {a}}}}\right )}{\sqrt {\frac {i \sqrt {c}}{\sqrt {a}}}\, \sqrt {c \,x^{4}+a}\, d}-\frac {\arctanh \left (\frac {\frac {2 c \,d^{2} x^{2}}{e^{2}}+2 a}{2 \sqrt {a +\frac {c \,d^{4}}{e^{4}}}\, \sqrt {c \,x^{4}+a}}\right )}{2 \sqrt {a +\frac {c \,d^{4}}{e^{4}}}}\right )}{e^{2}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [F] time = 0.00, size = 0, normalized size = 0.00 \[ \int \frac {g x + f}{\sqrt {c x^{4} + a} {\left (e x + d\right )}}\,{d x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [F] time = 0.00, size = -1, normalized size = -0.00 \[ \int \frac {f+g\,x}{\sqrt {c\,x^4+a}\,\left (d+e\,x\right )} \,d x \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [F] time = 0.00, size = 0, normalized size = 0.00 \[ \int \frac {f + g x}{\sqrt {a + c x^{4}} \left (d + e x\right )}\, dx \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________